GetWindowCaption

GetWindowCaption(Num)

Description:
Returns the caption from the Window title bar) of the Window with the handle specified.  

To obtain the handle of the current top level window use the GetFocusedWindowHandle function.  The Run action can also return a Window handle.

Parameter Description

(no parameters)

Example:

Sub Main
MsgBox GetDesktopFolder()
End
Sub

See Also:

GetFocusedWindowHandle